package com.sz.wu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;

@SpringBootApplication
@MapperScan("com.sz.wu.mapper")
@EnableDiscoveryClient
@EnableFeignClients
public class ShoppingRun {
    public static void main(String[] args) {
        //一键启动
        SpringApplication.run(ShoppingRun.class);
    }
}
